file = open('a.txt','r',encoding='utf-8')
print(file.readlines())
file.close()
print()


file = open('b.txt','w',encoding='utf-8')
file.write('hello world Python yuanzhaohua')
file.close()
